package cn.anxingongyou.anxin.service;

import cn.anxingongyou.anxin.entity.Admin;
import com.github.pagehelper.PageInfo;

public interface AdminService {
    int insert(Admin admin);
    int deleteByPrimaryKey(Long id);
    int updateByPrimaryKeySelective(Admin admin);
    Admin  selectOne(Admin admin);
    Admin  selectOneByPrimaryKey(Long id);
    PageInfo<Admin> page(int pageNum, int pageSize , Admin admin);

}
